home *** CD-ROM | disk | FTP | other *** search
/ The Best of Tucows 2 / The Best of TUCOWS Volume 2.iso / setup95 / ie4shl95.cab / controlp.htt < prev    next >
Text File  |  1997-09-18  |  4KB  |  92 lines

  1. <!-- 
  2.  * This file was automatically generated by Microsoft Internet Explorer 4.0 
  3.  * using the file %TEMPLATEDIR%\controlp.htt
  4.  -->
  5.  
  6. <html>
  7.    <style>
  8.       a:link      {font: 8pt/10pt verdana; color: #FF6633}
  9.       a:visited   {font: 8pt/10pt verdana; color: #0099FF}
  10.       a:active    {font: 8pt/10pt verdana; color: black}
  11.    </style>
  12.  
  13.    <head>
  14.       <script language="JavaScript" for="FileList" event="SelectionChanged">
  15.          var items = FileList.FocusedItem;
  16.          var fldr  = FileList.Folder;
  17.  
  18.          SPAN1.innerHTML = "<b>" + fldr.GetDetailsOf(items, 0) + "</b><br>" + fldr.GetDetailsOf(items, 1);
  19.       </script>
  20.  
  21.       <script>
  22.          function fixSize() {
  23.             var hideTop = 200
  24.             var hideLeft = 400
  25.             var ch = document.body.clientHeight
  26.             var cw = document.body.clientWidth
  27.             if (hideTop > ch) {
  28.                document.all.heading.visibility = "hidden"
  29.                document.all.FileList.style.pixelTop = 0
  30.                document.all.panel.style.pixelTop = 0
  31.             } else {
  32.                document.all.heading.visibility = "visible"
  33.                document.all.FileList.style.top = (document.all.heading.offsetHeight - 32) + "px"
  34.                document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
  35.                document.all.rule.style.width = (cw - 84) + "px"        
  36.             }
  37.             if (hideLeft > cw) {
  38.                document.all.panel.visibility = "hidden"
  39.                document.all.FileList.style.pixelLeft = 0
  40.                document.all.FileList.style.pixelTop = document.all.panel.style.pixelTop
  41.             } else {
  42.                document.all.panel.visibility = "visible"
  43.                document.all.FileList.style.pixelLeft = document.all.panel.style.pixelWidth
  44.             }
  45.             document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft
  46.             document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop
  47.             document.all.panel.style.pixelHeight = ch - document.all.panel.style.pixelTop
  48.          }
  49.       </script>
  50.    </head>
  51.  
  52.    <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no onload="fixSize()">
  53.       <div ID="heading" style="position: absolute; width: 100%; height: 88px; background: URL(res://webvw.dll/controlp.gif) no-repeat">
  54.          <p style="margin-left: 80px; padding-left: 20px; margin-top: 16px">
  55.          <table>
  56.             <tr>
  57.                <td nowrap>
  58.                   <font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
  59.                      %THISDIRNAME%
  60.                   </font>
  61.                </td>
  62.             </tr>
  63.          </table>
  64.          <hr ID="rule" style="position: absolute; top: 44px; left: 84px" size=1px color=black>
  65.       </div>
  66.  
  67.       <div ID="panel" style="position: absolute; top: 88px; width: 30%; background: window; overflow: auto">
  68.          <p style="margin-left: 20px; margin-top: 8px; margin-right: 8px">
  69.          <font style="font: 8pt/10pt verdana; font-weight: normal; color: text">
  70.             <span id="SPAN1">
  71.                Select an icon to view its description.
  72.             </span>
  73.             <br><br>
  74.          </font>
  75.          <font style="font: 8pt/10pt verdana; font-weight: bold; color: background">
  76.             <a href="http://www.microsoft.com/">Microsoft Home</a><br>
  77.             <a href="http://www.microsoft.com/support/mtshome.asp">Technical Support</a>
  78.          </font>
  79.       </div>
  80.  
  81.       <object id="FileList" border=0 tabindex=1
  82.          classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"
  83.          style="position: absolute; left: 30%; top: 88px; width: 70%; height: 100%">
  84.       </object>
  85.  
  86.       <script language="JavaScript">
  87.          window.onresize = fixSize;
  88.       </script>
  89.    </body>
  90. </html>
  91.  
  92.